package com.base.web.core.enums;

/**
 * Created with IntelliJ IDEA.
 * Description: 返回信息及代码枚举
 *
 * @Author: rentie
 * @Date: 2018/7/16 14:59
 */
public enum ResultEmun {
    SUCCESS("200","操作成功")
    ,FAIL("500","操作失败");

    private String code;
    private String message;

    ResultEmun(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}